package TechStuff;

import java.rmi.Remote;
import java.rmi.RemoteException;

import Models.Point2D;

public interface ServerInterface extends Remote {
	public static final String name = "Server";
	
	public boolean movePiece(Point2D from, Point2D to, int id) throws RemoteException;

	public int registerClient() throws RemoteException;
	public void createClient(int id) throws RemoteException;
	public void unregisterClient(int id) throws RemoteException;
	public void resetGame() throws RemoteException;
}
